home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / devigen.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  808 b   |  32 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. struct deviceinfo;
  12. struct sounddevice;
  13.  
  14. struct devaddstruct
  15. {
  16.   unsigned long (*GetOpt)(const char *);
  17.   void (*Init)(const char *);
  18.   void (*Close)();
  19.   int (*ProcessKey)(unsigned short);
  20. };
  21.  
  22. struct devinfonode
  23. {
  24.   devinfonode *next;
  25.   char handle[9];
  26.   deviceinfo dev;
  27.   devaddstruct *addprocs;
  28.   char ihandle;
  29. };
  30.  
  31. int deviReadDevices(const char *list, devinfonode **devs);
  32.